package com.zw.yzk.kabu.data.network.task;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by zhanwei on 2017/3/1.
 */

public class SubmitOrderTask extends Task {

    @Expose
    @SerializedName("order_detail")
    public List<OrderDetails> details;
    @Expose
    @SerializedName("shoppingcart_id_list")
    public List<Integer> shoppingcartId;


    public static class OrderDetails {
        @Expose
        @SerializedName("shop_id")
        public int shopId;//商品id
        @Expose
        @SerializedName("receiver_info_id")
        public int receiverInfoId;//收货信息id
        @Expose
        @SerializedName("product_list")
        public List<Goods> goodsList;
    }

    public static class Goods {
        @Expose
        @SerializedName("product_id")
        public int goodsId; // 产品id
        @Expose
        @SerializedName("number")
        public int count; // 产品id
        @Expose
        @SerializedName("product_sku_id")
        public String skuId;// 商品组合属性id
    }
}
